package com.hrt.manage.sequence.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.hrt.bean.Sequence;
import com.hrt.bean.UsersInfor;

public interface SequenceService {

	@Transactional
	public String getNextSequence(Class clz);

	public List<Sequence> queryByPage(int pageIndex, int pageSize);

	public Long totalCount();
	

	@Transactional
	public void  deleteById( Long[] ids) throws Exception;

	@Transactional
	public void saveSequence(Sequence seq)throws Exception;
	@Transactional
	public void updateSequence(Sequence seq);

	public Sequence getSequenceByid(Long seqId);
	
	
	public Sequence getSequenceByEntity(Class clz);
	
	
	 
}
